// formDialog 样式

.details-modal-one .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > th{
  border-right: 1px solid #f0f0f0;
}

.setting {
  .dx-texteditor.dx-editor-outlined {
    height: 32px;
    // line-height: 32px;
  }

  .ant-select-selector {
    background: none !important;
    height: 32px !important;
    border-radius: 4px !important;
    line-height: 32px;
  }

  .ant-input-affix-wrapper {
    // background: none !important;
    height: 32px !important;
    border-radius: 4px !important;
    line-height: 32px;
  }

  .table-up .ant-table {
    background: none !important;

    .ant-table-thead>tr>th {
      background: none !important;
      border: none;
    }

    .ant-table-cell::before {
      border: none;
    }

    .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
      width: 0;
    }

    .ant-table-tbody>tr>td {
      border: none;
    }
  }

  .ant-tabs>.ant-tabs-nav {
    background: none;
  }

  .ant-table-tbody>tr {
    background: #fff;
  }

  .title {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;

    .title-left {

      display: flex;

      label {
        margin-right: 10px;
        height: 30px;
        line-height: 30px;

      }

      margin-bottom: 20px;

      .title-years,
      .title-tab {
        display: flex;
      }
    }

    .title-right {
      .title-right-icon {
        line-height: 32px;
        margin-left: 10px;
        font-size: 15px;
      }
    }
  }
}

.input_data_bg,
.input_check_bg {
  border-color: #4f2d7f;
}

.input_data_bg input,
.input_check_bg input {

  color: #4f2d7f;
}

.input_data_bg {
  height: 32px;
  line-height: 32px;

}

.select_type {
  width: 140px;
}

.select_data {
  width: 60px;
}

.operation-state {
  display: flex;

  .operation {
    display: flex;
    justify-content: space-between;
    width: 40px;
  }
}

.details-modal-one {
  width: 100%;
  border-radius: 10px;

  h5 {
    font-style: normal;
    margin: 0;
    padding: 0;
    margin-bottom: 12px;
    margin-top: 9px;
  }

  .valid-list {
    margin: 7px 0;

    span {
      margin-bottom: 8px;
      display: inline-block;
      font-size: 15px;
    }
    span.na-formula {
      color: red
    }
  }

  ul {
    margin: 0;
    padding: 0;

    li {
      list-style: none;
      margin-bottom: 10px;
      width: 100%;
    }
  }

  .details-head {
    display: flex;
    font-style: none;

    span {
      margin-right: 10px;
      display: block;
    }

    span:nth-child(2) {
      background-color: #4f2d7f;
      padding: 0 3px;
      font-size: 10px;
      color: #fff;
    }

    span:nth-child(3) {
      color: #4f2d7f;
    }
  }

  .ant-modal-body {
    height: 80vh;
    overflow: auto;
  }

  .ant-modal-body,
  .ant-modal-header {
    background-color: rgba(79, 45, 127, .1);
  }

  .ant-modal-header {
    border-bottom: 1px solid rgba(79, 45, 127, .1);
  }

  .ant-table-thead>tr>th,
  td {
    height: 10px;
    line-height: 10px;
  }
}

.details-modal-two {
  width: 100vw;

  .ant-modal-body,
  .ant-modal-header {
    // background-color: rgba(79, 45, 127, .1);
  }

  .ant-modal-header {
    border-bottom: 1px solid rgba(79, 45, 127, .1);
  }

  .ant-table-thead>tr>th,
  .ant-table-thead>tr>td {
    height: 10px;
    // width: 100px;
    line-height: 10px;
  }

  table {
    margin-top: 30px;
  }
}

.title-table {
  height: 550px;
  width: 100%;
  margin-top: 20px;
  overflow: auto;
}

.cpas-tables {
  height: 30vh;
}

.content {
  border-radius: 3px;
  padding: 8px;
  // position: relative;
  border: 1px solid rgba(79, 45, 127, .1);
  box-sizing: border-box;
  margin-bottom: 10px;
  margin-top: 10px;
}

.content:hover {
  cursor: pointer;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid rgba(79, 45, 127, .8);
  // position: relative;
}

.content-item {
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid rgba(79, 45, 127, .5);
  position: relative;
}

.content-item::after {
  box-sizing: border-box;
  content: "";
  display: block;
  height: 0px;
  width: 0px;
  position: absolute;
  top: 0;
  right: 0;
  color: #ff0000;
  /**对号大小*/
  font-size: 10px;
  line-height: 8px;
  border: 15px solid;
  border-color: #4f2d7f #4f2d7f transparent transparent;
  // border-top-left-radius: 10px;
}

.content-item::before {
  box-sizing: border-box;
  position: absolute;
  top: 0px;
  right: 5px;
  width: 6px;
  height: 12px;
  border-style: solid;
  border-color: #ffffff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotateZ(45deg);
  content: "";
  z-index: 1;

}

.rules {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  color: #4f2d7f;
}

.tables {

  // border:1px solid #ff0000;
  .ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table {
    border-top: 1px solid #e9e9e9;
  }

  .ant-table-thead tr th {
    background: none;
    border-bottom: 1px solid #e9e9e9;

  }

  table>thead>tr>th {
    border-right: 1px solid #e9e9e9
  }

  table>thead>tr {
    border-left: 1px solid #e9e9e9
  }

  .ant-table-tbody>tr>td {
    border-bottom: 1px solid #e9e9e9;
  }

  .ant-table.ant-table-bordered>.ant-table-container {
    border-left: 1px solid #e9e9e9
  }
}

.table-auto {
  // width: 100%;
  overflow: auto;

  .ant-table {
    font-size: 13px !important;
  }
}

.ul-formula {
  display: flex;
  flex-wrap: wrap;
}

.details-popup {
  background-color: #4f2d7f !important;
}

.close-btn {
  margin-right: 30px;

  .dx-button {
    height: 25px !important;
  }
}


.title-render {
  height: 30px;
  line-height: 30px;
  display: flex;
  justify-content: space-between;
  // background: rgba(79, 45, 127,.1) !important;
  .title-ri {
    display: flex;
    justify-content: flex-end;
  }
}

.dx-c {
  .dx-overlay-shader {

    .dx-popup-content,
    .dx-popup-title {
      background: rgba(79, 45, 127, .1) !important;
    }

    .dx-item-content:hover {
      color: #4f2d7f !important;
    }

    .dx-item-content {
      background: none !important;
    }

    .dx-toolbar-after {
      .dx-toolbar-item-content {
        background: rgba(79, 45, 127, .1) !important;
      }
    }
  }
}

.sel-popup {
  .ant-select-tree-title {
    width: 250px;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

// .title-left{
//   display: flex;
//   label{
//     height: 30px;
//     line-height: 30px;
//   }
//   span{
//     // display: inline-block;
//     height: 30px;
//     line-height: 30px;
//     margin-right: 10px;
//   }
// }
.closebtns:hover {
  cursor: pointer;
}

.batch-box{
  display: flex;
  justify-content: center;
  align-items: center;
  .batch-button {
    margin-left:2px;
    border: 1px solid #d9d9d9;
    width: 38px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  .batch-button-active{
    border: 1px solid #4F2D7F;
    color: #4F2D7F;
  }
}

.datetime-box{
  display: flex;
  justify-content: center;
  align-items: center;
  .datetime-button {
    margin-left:2px;
    border: 1px solid #d9d9d9;
    width: 38px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  .datetime-button-active{
    border: 1px solid #4F2D7F;
    color: #4F2D7F;
  }
}
.batch-content {
  .ant-checkbox-group {
    display: block;
    .ant-checkbox-group-item {
      display: flex;
      padding: 1px 0;
    }
  }
}

.table-up tr td.ant-table-cell {
  padding: 16px 8px;
}
.validator-body{
  position: relative;
  .validator-mask {
    position: absolute;
    top: 0;
    left: 0;
    height: 270px;
    width: 98%;
    background: #333;
    opacity: 0.3;
    z-index: 99
  }
}
.report-tables .PaperDevSortableGrid .dx-datagrid-headers .dx-datagrid-table .dx-row>td.repeort-cell-highlighted{
  background-color: #E8E4F0;
}
.report-tables .PaperDevSortableGrid .dx-datagrid .dx-row-alt>td.repeort-cell-highlighted, .dx-datagrid .dx-row-alt>tr>td.repeort-cell-highlighted{
  background-color: #E8E4F0;
}

.check-detail {
  z-index: 990 !important;
}
.ant-tooltip-content {
  .na-formula {
    color: rgb(247, 162, 162) !important
  }
}
